﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.YouZanYun.Model.Inter.Category
{
    public class CategoryData
    {
        /// <summary>
        /// 类目层级
        /// </summary>
        public int level { get; set; }

        /// <summary>
        /// 类目状态 1：正常，2：禁用(商品创建时勿要使用该类目状态)
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 类目规则ID
        /// </summary>
        public string rule_id { get; set; }

        /// <summary>
        /// 父级类目ID
        /// </summary>
        public long parent_id { get; set; }

        /// <summary>
        /// 是否还有子节点
        /// </summary>
        public bool has_children { get; set; }

        /// <summary>
        /// 类目ID
        /// </summary>
        public long id { get; set; }

        /// <summary>
        /// 类目名
        /// </summary>
        public string name { get; set; }

        public List<CategoryData> data { get; set; }
    }
}
